package edu.bluebeanforum.file;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "file.oss")
public class OSSProperties {

    private String endpoint;//

    private String region;//地区---杭州

    private String accessKeyId;//阿里云 API 的密钥

    private String accessKeySecret;//阿里云 API 的密钥

    private String bucketName;//桶名

    /*
        路径前缀 加在endPoint 之后
     */
    private String pathPrefix;
}
